<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>AutoSqli-QuickBuild</title>
<link href="/static/css/zxmk.css" rel="stylesheet" type="text/css"/>
<link rel="shortcut icon" href="static/images/favicon.ico">
<script src="/static/js/ajax.js" type="text/javascript"></script>
<script src="/static/js/core.js" type="text/javascript"></script>
<script src="/static/js/jquery-1.11.3.min.js" type="text/javascript"></script>
<script type="text/javascript">
function add_task()
{                            
var url_text=document.getElementById('url_text').value;
if (url_text=="")
{
  document.getElementById("tips").innerHTML="URL can not be null";
  return;
}  
var url="/quickbuild.html";                
  var send_content='{"url":"'+document.getElementById("url_text").value+'"}';
  loadXMLDocByPost(send_content,url,function(){
    if(xmlhttp.readyState==4&&xmlhttp.status==200){
      if(xmlhttp.responseText=="False"){
        document.getElementById("tips").innerHTML="添加任务出错";
      }
      else{
        document.getElementById("tips").innerHTML="";
        window.location="/tasklist.html";
      }
    }
  });
}
</script>
<style>
.add_task{width:400px;height:400px;float:left;clear: left;position: absolute;top:100px;left: 150px;border-radius: 8px;border-width: 4px;border-style: dashed; border-color: white;}
.add_task p{font-size: 20px;color: #fff;margin-left: 40px;margin-top: 40px;}
#url_text{width: 300px;height: 200px;font-size:20px;float: left;clear: both;margin-top: 20px;margin-left: 40px;border-radius: 8px;}
.button{float: left;clear: both;color:white;padding: 10px 20px 10px 20px;border-width: 3px;border-style: solid; border-color: white;border-radius: 4px;margin-left: 150px;margin-top: 40px;font-size: 20px;}
.introduction{width:500px;height:400px;float:left;clear: right;font-size: 25px;color: #fff;border-width: 4px;border-style: dashed;border-radius: 8px;position: absolute;top: 100px;right: 150px;}
</style>
</head>
<body>
<div class="top-nav">
  <div class="w1000 clearfix">
    <a href="/">AutoSqli Tools</a>
    <a href="quickbuild.html" style="font-size:15px;padding-left:200px;">Quickly Bulid</a>
    <a href="customtask.html" style="font-size:15px;padding-left:60px;">Custom Task</a>
    <a href="tasklist.html" style="font-size:15px;padding-left:60px;">Task List</a>
    <a href="success.html" style="font-size:15px;padding-left:60px;">Success List</a>
  </div>
</div>
<div class="add_task">
  <p><strong>Add url here</strong><span id="tips" style="font-size:15px;color:red;"></span></p>
  <textarea rows="20" id="url_text"></textarea>
  <div class="button" onclick="add_task()"><strong>Build</strong></div>
</div>
<div class="introduction">
  <p align="center" style="font-size:30px;"><strong>Attention</strong></p>
  <p>If you use Quickly Build to start your scan task</p>
  <p>there is no options or all options is None.</p>
  <p>It means the options like cookies,smart,dbs will not set to your task</p>
  <p>If you want to use these options,please choose Custom Task. </p>
</div>
</body>
</html>

